package com.fau.cm.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @desc 话务员客户表实体类，软交换用于判断二次进线 
 * @author kangyj
 * @datetime 2015年1月14日,下午12:07:39
 */
@Entity
@Table(name = "medical_call_extension")
public class MedicalCallExtension implements Serializable {

	private static final long serialVersionUID = 5449992283642931748L;
	
	private String id;
	private String attendantNo;			// 话务员工号
	private String customerNum;			// 客户号码+分机号
	
	@Id
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@GeneratedValue(generator = "generator")
	@Column(name = "id", length = 32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "attendant_no", length = 10)
	public String getAttendantNo() {
		return attendantNo;
	}

	public void setAttendantNo(String attendantNo) {
		this.attendantNo = attendantNo;
	}

	@Column(name = "customer_num", length = 30)
	public String getCustomerNum() {
		return customerNum;
	}

	public void setCustomerNum(String customerNum) {
		this.customerNum = customerNum;
	}

}
